package org.example.jwtdemo.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class User {
    private Long id;

    private String username;

    private String email;

    private String hobby;

    //使用正则表达式校验身份证号
    private String idNumber;

    //电话
    private String phone;

    private Integer gender;

    private  String password;
    private String avatar;
}
